const Router = require('koa-router')
const RptController = require('../../controllers/rpt.enter')
const m = require('../../middlewares/admin_auth')
const router = new Router({ prefix: '/admin/api/v1/rpt/enter' })

// 获取
router.get('/cabinet/list', m.auth, RptController.getCabinetDataList);

router.get('/equipment/list', m.auth, RptController.getEquDataList);

router.get('/equipment/log/list', m.auth, RptController.getEquLogDataList);

router.get('/warning/log/list', m.auth, RptController.getWarningDataList);

router.get("/equ/detail/by/id", m.auth, RptController.getEquDetailById)

module.exports = router

